package edu.umbc.cs.cmsc471.mastermind;

public class GuessPair {
	Code code;
	String result;
	boolean eligible;
	int fitness;
	
	public GuessPair(Code newCode, String newResult)
	{
		code = newCode;
		result = newResult;	
		eligible = true;
	}
	
	public GuessPair(Code newCode, String newResult, boolean isEligible, int newFitness)
	{
		code = newCode;
		result = newResult;	
		eligible = isEligible;
		fitness = newFitness;
	}
	
	public Code getCode()
	{
		return code;
	}
	
	public String getResult()
	{
		return result;
	}
	
	public boolean getEligibility()
	{
		return eligible;
	}
}
